package com.taoism.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 基础DTO
 *
 * @author 李嘉
 * @version 1.0
 * @Description 基础DTO
 * @date 2019-05-27 16:41
 */
@Data
@ApiModel("公用的DTO")
public abstract class BaseDTO implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 2592786412318630440L;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", notes = "创建人", dataType = "String")
    private String createBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", notes = "创建时间", dataType = "Date")
    private Date createTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", notes = "修改人", dataType = "String")
    private String updateBy;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", notes = "修改时间", dataType = "Date")
    private Date updateTime;
}
